﻿using System.Collections.Generic;

namespace NovelDB.Entity
{
    public class NovelChapter
    {
        /// <summary>
        /// 章节ID
        /// </summary>
        public virtual int Id { get; set; }

        public virtual int Version { get; set; }

        public virtual int ChapterId { get; set; }
        /// <summary>
        /// 小说章节名字
        /// </summary>
        public virtual string Name { get; set; }

        /// <summary>
        /// 对Novel的引用
        /// </summary>
        public virtual Novel Novel { get; set; }

        /// <summary>
        /// 章节所包含的链接
        /// </summary>
        public virtual IList<NovelLink> NovelLinks { get; set; }
    }
}
